package com.github.niefy.modules.wx.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.niefy.modules.wx.dao.MessageMapper;
import com.github.niefy.modules.wx.entity.Message;
import com.github.niefy.modules.wx.service.MessageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @Description:
 * @Company：乙盟信息
 * @Author: jiangheng
 * @Date: 2022/2/26 16:15
 * @Version 1.0
 */
@Service
public class MessageServiceImpl extends ServiceImpl<MessageMapper, Message> implements MessageService {
    @Resource
    private MessageMapper messageMapper;
    @Override
    public IPage<Message> queryPage(IPage page, Map<String, Object> params) {
        return messageMapper.listMessage(page,params);
    }
}
